<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
	String path = request.getContextPath();
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="path" value="${pageContext.request.contextPath}" ></c:set>
<script type="text/javascript" src="${path }/js/jquery-3.6.0.min.js"></script>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>修改帖子信息</title>

    <link rel="icon" type="image/png" href="<%= path %>/assets/images/favicon-32x32.png">
    <!-- Base Styling  -->
    <link rel="stylesheet" href="<%= path %>/assets/main/css/fonts.css">
    <link rel="stylesheet" href="<%= path %>/assets/main/css/style.css">
</head>
<body> 
        <div class="header">
            <header class="top-head container-fluid">
                <div class="nav-control">
                    <div class="hamburger">
                        <span class="line"></span>
                        <span class="line"></span>
                        <span class="line"></span>
                    </div>
                    <div class="left-header content-header__menu">
                        <ul class="list-unstyled">
                            <li></li>
                            <li></li>
                        </ul>
                    </div>
                </div>
                <div class="header-right">
                    <div class="fullscreen notification_dropdown">
                        <div class="full">                           
                        </div>
                    </div>
                    <div class="notification_dropdown">
                        <div class="cart-wrapper">
                            <div class="cart-icon">                     
                                   <div class="pulse-css"></div>                  
                            </div>        
                        </div>
                    </div>
                  
                    <div class="my-account-wrapper">
                        <div class="account-wrapper">
                            <div class="account-control">
                                    <div class="header-info">                                      
                                    </div>                            
                                <div class="account-dropdown-form dropdown-container">
                                    <div class="form-content">                              
                                    </div>
                                   
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </header>
        </div>

        <div class="content-body">
            <div class="warper container-fluid">
                <div class="doctorino_settings main_container">

                    <div class="row">
                        <div class="col-md-12">
                            <div class="card shadow mb-4">
                                <div class="card-header">
                                    <h4 class="card-title"> 修改未通过帖子信息 </h4>
                                </div>
                                <div class="card-body">
                                <!--  -->
                                    <form id="myform" enctype="multipart/form-data"  action="${path }/PostController?action=preservation" method="post" >
                                        <div class="row">
                                            <div class="col-xl-6">
                                                <div class="form-group row">
                                                    <label class="col-lg-4 col-form-label">标题修改
                                                        <span class="text-danger">*</span>
                                                    </label>
                                                    <div class="col-lg-6">
                                                        <input type="text" name="title" value="${post.title }" class="form-control" >
                                                    </div>
                                                </div>
                                            </div>
                                             
                                            <div class="col-xl-6">
                                                <div class="form-group row">
                                               
                                                    <!--  <label class="col-lg-4 col-form-label">内容修改<span class="text-danger">*</span></label>-->
                                                    <div class="col-lg-6">
                                           					
                                                    	<!--  <textarea rows="10" cols="200" name="content" value="${post.content }" class="form-control">发布内容</textarea>-->
                                                        <!--  <input  type="text" > -->
                                                    </div>
                                                </div>
                                            </div>
                                           
                                           
                                            <div class="col-xl-12">
                                                <div class="form-group">
                                                <input type="hidden" name="id" value="${param.id }">
                                                    <button id="subBtn" type="submit" class="btn btn-primary float-end">保存</button>
                                                </div>
                                            </div>
                                            <hr>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="footer">
            <div class="copyright">
                <p class="mb-0">Copyright ©&中国航天 &amp;2021
                </p>
            </div>
        </div>


   

   

    <script src="<%= path %>/assets/plugins/popper/popper.min.js"></script>

    <script src="<%= path %>/assets/plugins/bootstrap/js/bootstrap.min.js"></script>

    <script src="<%= path %>/assets/plugins/moment/moment.min.js"></script>

    <script src="<%= path %>/assets/plugins/daterangepicker/daterangepicker.min.js"></script>

    <script src="<%= path %>/assets/plugins/datatables/jquery.dataTables.min.js"></script>
    <script src="<%= path %>/assets/js/init-tdatatable.js"></script>

    <script src="<%= path %>/assets/js/toggleFullScreen.js"></script>
    <script src="<%= path %>/assets/js/main.js"></script>

</body>

</html>
